﻿using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _001_MVVM基础.Model
{
    [INotifyPropertyChanged]
    public partial class Son :Person  //, ObservableObject
    {
        [ObservableProperty]
        private string? name;

        public void Test()
        {
            this.age = 1;

            
        }
    }
}
